﻿CREATE PROCEDURE [acms].[Post_GetTopLevelBySiteId]
	@SiteId int
AS
	SELECT *
	FROM [Post_View]
	WHERE SiteId = @SiteId
		and ParentId is null

RETURN 0;